<!-- 
@ClassName:login
@Description:
@author: ranyi
@date: 2020-04-10 18:04
Version: V1.0
-->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <h1>登录</h1>
        <p th:text="${msg}" style="color: red"></p>
        <hr>
        <form th:action="@{/login}">
            <p>用户名：<input type="text" name="user"/></p>
            <p>密  码：<input type="password" name="pwd"/></p>
            <p><input type="submit" /></p>
        </form>
    </body>
</html>